package com.teamall.web.fpgz.db.arg;

import java.util.*;
import java.math.*;
import org.apache.commons.lang.*;

public class CodeFamilyMemberArg {
    private String pk_name = "FAMILY_MEMEBER_ID";

    private String orderByClause;

    private String groupByClause;

    private String columns;

    private String countsql1;

    private String countsql2;

    private boolean distinct;

    private int rowStart = 0;

    private int rowEnd = 10;

    private List<CodeFamilyMemberCriteria> oredCriteria;

    public CodeFamilyMemberArg() {
        oredCriteria = new ArrayList<CodeFamilyMemberCriteria>();
    }

    public void setPk_name(String pk_name) {
        this.pk_name = StringEscapeUtils.escapeSql(pk_name);
    }

    public String getPk_name() {
        return pk_name;
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = StringEscapeUtils.escapeSql(orderByClause);
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setGroupByClause(String groupByClause) {
        this.groupByClause = StringEscapeUtils.escapeSql(groupByClause);
    }

    public String geGroupByClause() {
        return groupByClause;
    }

    public void setColumns(String columns) {
        this.columns = StringEscapeUtils.escapeSql(columns);
    }

    public String geColumns() {
        return columns;
    }

    public void setCountsql1(String countsql1) {
        this.countsql1 = StringEscapeUtils.escapeSql(countsql1);
    }

    public String geCountsql1() {
        return countsql1;
    }

    public void setCountsql2(String countsql2) {
        this.countsql2 = StringEscapeUtils.escapeSql(countsql2);
    }

    public String geCountsql2() {
        return countsql2;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public void setRowStart(int rowStart) {
        this.rowStart = rowStart;
    }

    public void setRowEnd(int rowEnd) {
        this.rowEnd = rowEnd;
    }

    public int getRowStart() {
        return rowStart;
    }

    public int getRowEnd() {
        return rowEnd;
    }

    public List<CodeFamilyMemberCriteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(CodeFamilyMemberCriteria criteria) {
        oredCriteria.add(criteria);
    }

    public CodeFamilyMemberCriteria or() {
    	CodeFamilyMemberCriteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public CodeFamilyMemberCriteria createCriteria() {
    	CodeFamilyMemberCriteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected CodeFamilyMemberCriteria createCriteriaInternal() {
    	CodeFamilyMemberCriteria criteria = new CodeFamilyMemberCriteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        groupByClause = null;
        columns = null;
        countsql1 = null;
        countsql2 = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<CodeFamilyMemberCriterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<CodeFamilyMemberCriterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<CodeFamilyMemberCriterion> getAllCriteria() {
            return criteria;
        }

        public List<CodeFamilyMemberCriterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new CodeFamilyMemberCriterion(condition));
        }

        protected void addCriterion(String condition, Object value,
                String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new CodeFamilyMemberCriterion(condition, value));
        }

        protected void addCriterion(String condition, Object value,
                String property, int likeType) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new CodeFamilyMemberCriterion(condition, value, likeType));
        }

        protected void addCriterion(String condition, Object value1,
                Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property
                        + " cannot be null");
            }
            criteria.add(new CodeFamilyMemberCriterion(condition, value1, value2));
        }

        public CodeFamilyMemberCriteria andCriterionEqualTo(String criterion) {
            if (StringUtils.isBlank(criterion)) {
                criterion = "1=1";
            }
            addCriterion(criterion);
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andTownIdIsNull() {
            addCriterion("town_id is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownIdIsNotNull() {
            addCriterion("town_id is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownIdEqualTo(Integer value) {
            addCriterion("town_id =", value, "town_id");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownIdNotEqualTo(Integer value) {
            addCriterion("town_id <>", value, "town_id");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownIdGreaterThan(Integer value) {
            addCriterion("town_id >", value, "town_id");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("town_id >=", value, "town_id");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownIdLessThan(Integer value) {
            addCriterion("town_id <", value, "town_id");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownIdLessThanOrEqualTo(Integer value) {
            addCriterion("town_id <=", value, "town_id");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownIdLike(Integer value) {
            addCriterion("town_id like ", value, "town_id", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownIdNotLike(Integer value) {
            addCriterion("town_id  not like ", value, "town_id", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownIdLeftLike(Integer value) {
            addCriterion("town_id like ", value, "town_id", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownIdNotLeftLike(Integer value) {
            addCriterion("town_id  not like ", value, "town_id", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownIdRightLike(Integer value) {
            addCriterion("town_id like ", value, "town_id", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownIdNotRightLike(Integer value) {
            addCriterion("town_id  not like ", value, "town_id", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownIdIn(List<Integer> values) {
            addCriterion("town_id  in ", values, "town_id");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownIdNotIn(List<Integer> values) {
            addCriterion("town_id not in ", values, "town_id");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownIdBetween(Integer value1, Integer value2) {
            addCriterion("town_id between ", value1, value2, "town_id");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownIdNotBetween(Integer value1, Integer value2) {
            addCriterion("town_id not between ", value1, value2, "town_id");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andTownNameIsNull() {
            addCriterion("town_name is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownNameIsNotNull() {
            addCriterion("town_name is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownNameEqualTo(String value) {
            addCriterion("town_name =", value, "town_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownNameNotEqualTo(String value) {
            addCriterion("town_name <>", value, "town_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownNameGreaterThan(String value) {
            addCriterion("town_name >", value, "town_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownNameGreaterThanOrEqualTo(String value) {
            addCriterion("town_name >=", value, "town_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownNameLessThan(String value) {
            addCriterion("town_name <", value, "town_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownNameLessThanOrEqualTo(String value) {
            addCriterion("town_name <=", value, "town_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownNameLike(String value) {
            addCriterion("town_name like ", value, "town_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownNameNotLike(String value) {
            addCriterion("town_name  not like ", value, "town_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownNameLeftLike(String value) {
            addCriterion("town_name like ", value, "town_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownNameNotLeftLike(String value) {
            addCriterion("town_name  not like ", value, "town_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownNameRightLike(String value) {
            addCriterion("town_name like ", value, "town_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownNameNotRightLike(String value) {
            addCriterion("town_name  not like ", value, "town_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownNameIn(List<String> values) {
            addCriterion("town_name  in ", values, "town_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownNameNotIn(List<String> values) {
            addCriterion("town_name not in ", values, "town_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownNameBetween(String value1, String value2) {
            addCriterion("town_name between ", value1, value2, "town_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTownNameNotBetween(String value1, String value2) {
            addCriterion("town_name not between ", value1, value2, "town_name");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andVillageIdIsNull() {
            addCriterion("village_id is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageIdIsNotNull() {
            addCriterion("village_id is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageIdEqualTo(Integer value) {
            addCriterion("village_id =", value, "village_id");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageIdNotEqualTo(Integer value) {
            addCriterion("village_id <>", value, "village_id");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageIdGreaterThan(Integer value) {
            addCriterion("village_id >", value, "village_id");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("village_id >=", value, "village_id");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageIdLessThan(Integer value) {
            addCriterion("village_id <", value, "village_id");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageIdLessThanOrEqualTo(Integer value) {
            addCriterion("village_id <=", value, "village_id");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageIdLike(Integer value) {
            addCriterion("village_id like ", value, "village_id", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageIdNotLike(Integer value) {
            addCriterion("village_id  not like ", value, "village_id", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageIdLeftLike(Integer value) {
            addCriterion("village_id like ", value, "village_id", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageIdNotLeftLike(Integer value) {
            addCriterion("village_id  not like ", value, "village_id", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageIdRightLike(Integer value) {
            addCriterion("village_id like ", value, "village_id", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageIdNotRightLike(Integer value) {
            addCriterion("village_id  not like ", value, "village_id", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageIdIn(List<Integer> values) {
            addCriterion("village_id  in ", values, "village_id");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageIdNotIn(List<Integer> values) {
            addCriterion("village_id not in ", values, "village_id");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageIdBetween(Integer value1, Integer value2) {
            addCriterion("village_id between ", value1, value2, "village_id");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageIdNotBetween(Integer value1, Integer value2) {
            addCriterion("village_id not between ", value1, value2, "village_id");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andVillageCodeIsNull() {
            addCriterion("village_code is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageCodeIsNotNull() {
            addCriterion("village_code is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageCodeEqualTo(String value) {
            addCriterion("village_code =", value, "village_code");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageCodeNotEqualTo(String value) {
            addCriterion("village_code <>", value, "village_code");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageCodeGreaterThan(String value) {
            addCriterion("village_code >", value, "village_code");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageCodeGreaterThanOrEqualTo(String value) {
            addCriterion("village_code >=", value, "village_code");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageCodeLessThan(String value) {
            addCriterion("village_code <", value, "village_code");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageCodeLessThanOrEqualTo(String value) {
            addCriterion("village_code <=", value, "village_code");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageCodeLike(String value) {
            addCriterion("village_code like ", value, "village_code", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageCodeNotLike(String value) {
            addCriterion("village_code  not like ", value, "village_code", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageCodeLeftLike(String value) {
            addCriterion("village_code like ", value, "village_code", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageCodeNotLeftLike(String value) {
            addCriterion("village_code  not like ", value, "village_code", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageCodeRightLike(String value) {
            addCriterion("village_code like ", value, "village_code", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageCodeNotRightLike(String value) {
            addCriterion("village_code  not like ", value, "village_code", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageCodeIn(List<String> values) {
            addCriterion("village_code  in ", values, "village_code");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageCodeNotIn(List<String> values) {
            addCriterion("village_code not in ", values, "village_code");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageCodeBetween(String value1, String value2) {
            addCriterion("village_code between ", value1, value2, "village_code");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageCodeNotBetween(String value1, String value2) {
            addCriterion("village_code not between ", value1, value2, "village_code");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andVillageNameIsNull() {
            addCriterion("village_name is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageNameIsNotNull() {
            addCriterion("village_name is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageNameEqualTo(String value) {
            addCriterion("village_name =", value, "village_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageNameNotEqualTo(String value) {
            addCriterion("village_name <>", value, "village_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageNameGreaterThan(String value) {
            addCriterion("village_name >", value, "village_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageNameGreaterThanOrEqualTo(String value) {
            addCriterion("village_name >=", value, "village_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageNameLessThan(String value) {
            addCriterion("village_name <", value, "village_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageNameLessThanOrEqualTo(String value) {
            addCriterion("village_name <=", value, "village_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageNameLike(String value) {
            addCriterion("village_name like ", value, "village_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageNameNotLike(String value) {
            addCriterion("village_name  not like ", value, "village_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageNameLeftLike(String value) {
            addCriterion("village_name like ", value, "village_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageNameNotLeftLike(String value) {
            addCriterion("village_name  not like ", value, "village_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageNameRightLike(String value) {
            addCriterion("village_name like ", value, "village_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageNameNotRightLike(String value) {
            addCriterion("village_name  not like ", value, "village_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageNameIn(List<String> values) {
            addCriterion("village_name  in ", values, "village_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageNameNotIn(List<String> values) {
            addCriterion("village_name not in ", values, "village_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageNameBetween(String value1, String value2) {
            addCriterion("village_name between ", value1, value2, "village_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andVillageNameNotBetween(String value1, String value2) {
            addCriterion("village_name not between ", value1, value2, "village_name");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andFamilyIdIsNull() {
            addCriterion("family_id is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyIdIsNotNull() {
            addCriterion("family_id is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyIdEqualTo(Integer value) {
            addCriterion("family_id =", value, "family_id");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyIdNotEqualTo(Integer value) {
            addCriterion("family_id <>", value, "family_id");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyIdGreaterThan(Integer value) {
            addCriterion("family_id >", value, "family_id");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("family_id >=", value, "family_id");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyIdLessThan(Integer value) {
            addCriterion("family_id <", value, "family_id");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyIdLessThanOrEqualTo(Integer value) {
            addCriterion("family_id <=", value, "family_id");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyIdLike(Integer value) {
            addCriterion("family_id like ", value, "family_id", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyIdNotLike(Integer value) {
            addCriterion("family_id  not like ", value, "family_id", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyIdLeftLike(Integer value) {
            addCriterion("family_id like ", value, "family_id", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyIdNotLeftLike(Integer value) {
            addCriterion("family_id  not like ", value, "family_id", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyIdRightLike(Integer value) {
            addCriterion("family_id like ", value, "family_id", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyIdNotRightLike(Integer value) {
            addCriterion("family_id  not like ", value, "family_id", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyIdIn(List<Integer> values) {
            addCriterion("family_id  in ", values, "family_id");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyIdNotIn(List<Integer> values) {
            addCriterion("family_id not in ", values, "family_id");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyIdBetween(Integer value1, Integer value2) {
            addCriterion("family_id between ", value1, value2, "family_id");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("family_id not between ", value1, value2, "family_id");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andFamilyCodeIsNull() {
            addCriterion("family_code is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyCodeIsNotNull() {
            addCriterion("family_code is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyCodeEqualTo(String value) {
            addCriterion("family_code =", value, "family_code");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyCodeNotEqualTo(String value) {
            addCriterion("family_code <>", value, "family_code");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyCodeGreaterThan(String value) {
            addCriterion("family_code >", value, "family_code");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyCodeGreaterThanOrEqualTo(String value) {
            addCriterion("family_code >=", value, "family_code");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyCodeLessThan(String value) {
            addCriterion("family_code <", value, "family_code");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyCodeLessThanOrEqualTo(String value) {
            addCriterion("family_code <=", value, "family_code");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyCodeLike(String value) {
            addCriterion("family_code like ", value, "family_code", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyCodeNotLike(String value) {
            addCriterion("family_code  not like ", value, "family_code", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyCodeLeftLike(String value) {
            addCriterion("family_code like ", value, "family_code", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyCodeNotLeftLike(String value) {
            addCriterion("family_code  not like ", value, "family_code", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyCodeRightLike(String value) {
            addCriterion("family_code like ", value, "family_code", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyCodeNotRightLike(String value) {
            addCriterion("family_code  not like ", value, "family_code", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyCodeIn(List<String> values) {
            addCriterion("family_code  in ", values, "family_code");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyCodeNotIn(List<String> values) {
            addCriterion("family_code not in ", values, "family_code");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyCodeBetween(String value1, String value2) {
            addCriterion("family_code between ", value1, value2, "family_code");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyCodeNotBetween(String value1, String value2) {
            addCriterion("family_code not between ", value1, value2, "family_code");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andMemberTypeIsNull() {
            addCriterion("member_type is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeIsNotNull() {
            addCriterion("member_type is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeEqualTo(Integer value) {
            addCriterion("member_type =", value, "member_type");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeNotEqualTo(Integer value) {
            addCriterion("member_type <>", value, "member_type");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeGreaterThan(Integer value) {
            addCriterion("member_type >", value, "member_type");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("member_type >=", value, "member_type");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeLessThan(Integer value) {
            addCriterion("member_type <", value, "member_type");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeLessThanOrEqualTo(Integer value) {
            addCriterion("member_type <=", value, "member_type");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeLike(Integer value) {
            addCriterion("member_type like ", value, "member_type", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeNotLike(Integer value) {
            addCriterion("member_type  not like ", value, "member_type", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeLeftLike(Integer value) {
            addCriterion("member_type like ", value, "member_type", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeNotLeftLike(Integer value) {
            addCriterion("member_type  not like ", value, "member_type", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeRightLike(Integer value) {
            addCriterion("member_type like ", value, "member_type", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeNotRightLike(Integer value) {
            addCriterion("member_type  not like ", value, "member_type", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeIn(List<Integer> values) {
            addCriterion("member_type  in ", values, "member_type");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeNotIn(List<Integer> values) {
            addCriterion("member_type not in ", values, "member_type");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeBetween(Integer value1, Integer value2) {
            addCriterion("member_type between ", value1, value2, "member_type");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("member_type not between ", value1, value2, "member_type");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andMemberTypeNameIsNull() {
            addCriterion("member_type_name is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeNameIsNotNull() {
            addCriterion("member_type_name is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeNameEqualTo(String value) {
            addCriterion("member_type_name =", value, "member_type_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeNameNotEqualTo(String value) {
            addCriterion("member_type_name <>", value, "member_type_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeNameGreaterThan(String value) {
            addCriterion("member_type_name >", value, "member_type_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeNameGreaterThanOrEqualTo(String value) {
            addCriterion("member_type_name >=", value, "member_type_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeNameLessThan(String value) {
            addCriterion("member_type_name <", value, "member_type_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeNameLessThanOrEqualTo(String value) {
            addCriterion("member_type_name <=", value, "member_type_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeNameLike(String value) {
            addCriterion("member_type_name like ", value, "member_type_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeNameNotLike(String value) {
            addCriterion("member_type_name  not like ", value, "member_type_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeNameLeftLike(String value) {
            addCriterion("member_type_name like ", value, "member_type_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeNameNotLeftLike(String value) {
            addCriterion("member_type_name  not like ", value, "member_type_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeNameRightLike(String value) {
            addCriterion("member_type_name like ", value, "member_type_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeNameNotRightLike(String value) {
            addCriterion("member_type_name  not like ", value, "member_type_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeNameIn(List<String> values) {
            addCriterion("member_type_name  in ", values, "member_type_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeNameNotIn(List<String> values) {
            addCriterion("member_type_name not in ", values, "member_type_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeNameBetween(String value1, String value2) {
            addCriterion("member_type_name between ", value1, value2, "member_type_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMemberTypeNameNotBetween(String value1, String value2) {
            addCriterion("member_type_name not between ", value1, value2, "member_type_name");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andFamilyMemeberIdIsNull() {
            addCriterion("FAMILY_MEMEBER_ID is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyMemeberIdIsNotNull() {
            addCriterion("FAMILY_MEMEBER_ID is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyMemeberIdEqualTo(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID =", value, "FAMILY_MEMEBER_ID");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyMemeberIdNotEqualTo(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID <>", value, "FAMILY_MEMEBER_ID");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyMemeberIdGreaterThan(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID >", value, "FAMILY_MEMEBER_ID");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyMemeberIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID >=", value, "FAMILY_MEMEBER_ID");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyMemeberIdLessThan(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID <", value, "FAMILY_MEMEBER_ID");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyMemeberIdLessThanOrEqualTo(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID <=", value, "FAMILY_MEMEBER_ID");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyMemeberIdLike(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID like ", value, "FAMILY_MEMEBER_ID", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyMemeberIdNotLike(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID  not like ", value, "FAMILY_MEMEBER_ID", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyMemeberIdLeftLike(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID like ", value, "FAMILY_MEMEBER_ID", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyMemeberIdNotLeftLike(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID  not like ", value, "FAMILY_MEMEBER_ID", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyMemeberIdRightLike(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID like ", value, "FAMILY_MEMEBER_ID", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyMemeberIdNotRightLike(Integer value) {
            addCriterion("FAMILY_MEMEBER_ID  not like ", value, "FAMILY_MEMEBER_ID", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyMemeberIdIn(List<Integer> values) {
            addCriterion("FAMILY_MEMEBER_ID  in ", values, "FAMILY_MEMEBER_ID");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyMemeberIdNotIn(List<Integer> values) {
            addCriterion("FAMILY_MEMEBER_ID not in ", values, "FAMILY_MEMEBER_ID");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyMemeberIdBetween(Integer value1, Integer value2) {
            addCriterion("FAMILY_MEMEBER_ID between ", value1, value2, "FAMILY_MEMEBER_ID");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andFamilyMemeberIdNotBetween(Integer value1, Integer value2) {
            addCriterion("FAMILY_MEMEBER_ID not between ", value1, value2, "FAMILY_MEMEBER_ID");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andPersonCodeIsNull() {
            addCriterion("person_code is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonCodeIsNotNull() {
            addCriterion("person_code is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonCodeEqualTo(String value) {
            addCriterion("person_code =", value, "person_code");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonCodeNotEqualTo(String value) {
            addCriterion("person_code <>", value, "person_code");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonCodeGreaterThan(String value) {
            addCriterion("person_code >", value, "person_code");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonCodeGreaterThanOrEqualTo(String value) {
            addCriterion("person_code >=", value, "person_code");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonCodeLessThan(String value) {
            addCriterion("person_code <", value, "person_code");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonCodeLessThanOrEqualTo(String value) {
            addCriterion("person_code <=", value, "person_code");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonCodeLike(String value) {
            addCriterion("person_code like ", value, "person_code", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonCodeNotLike(String value) {
            addCriterion("person_code  not like ", value, "person_code", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonCodeLeftLike(String value) {
            addCriterion("person_code like ", value, "person_code", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonCodeNotLeftLike(String value) {
            addCriterion("person_code  not like ", value, "person_code", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonCodeRightLike(String value) {
            addCriterion("person_code like ", value, "person_code", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonCodeNotRightLike(String value) {
            addCriterion("person_code  not like ", value, "person_code", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonCodeIn(List<String> values) {
            addCriterion("person_code  in ", values, "person_code");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonCodeNotIn(List<String> values) {
            addCriterion("person_code not in ", values, "person_code");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonCodeBetween(String value1, String value2) {
            addCriterion("person_code between ", value1, value2, "person_code");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonCodeNotBetween(String value1, String value2) {
            addCriterion("person_code not between ", value1, value2, "person_code");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andPersonNameIsNull() {
            addCriterion("person_name is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonNameIsNotNull() {
            addCriterion("person_name is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonNameEqualTo(String value) {
            addCriterion("person_name =", value, "person_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonNameNotEqualTo(String value) {
            addCriterion("person_name <>", value, "person_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonNameGreaterThan(String value) {
            addCriterion("person_name >", value, "person_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonNameGreaterThanOrEqualTo(String value) {
            addCriterion("person_name >=", value, "person_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonNameLessThan(String value) {
            addCriterion("person_name <", value, "person_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonNameLessThanOrEqualTo(String value) {
            addCriterion("person_name <=", value, "person_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonNameLike(String value) {
            addCriterion("person_name like ", value, "person_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonNameNotLike(String value) {
            addCriterion("person_name  not like ", value, "person_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonNameLeftLike(String value) {
            addCriterion("person_name like ", value, "person_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonNameNotLeftLike(String value) {
            addCriterion("person_name  not like ", value, "person_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonNameRightLike(String value) {
            addCriterion("person_name like ", value, "person_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonNameNotRightLike(String value) {
            addCriterion("person_name  not like ", value, "person_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonNameIn(List<String> values) {
            addCriterion("person_name  in ", values, "person_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonNameNotIn(List<String> values) {
            addCriterion("person_name not in ", values, "person_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonNameBetween(String value1, String value2) {
            addCriterion("person_name between ", value1, value2, "person_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonNameNotBetween(String value1, String value2) {
            addCriterion("person_name not between ", value1, value2, "person_name");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andGenderIsNull() {
            addCriterion("gender is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderIsNotNull() {
            addCriterion("gender is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderEqualTo(Integer value) {
            addCriterion("gender =", value, "gender");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderNotEqualTo(Integer value) {
            addCriterion("gender <>", value, "gender");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderGreaterThan(Integer value) {
            addCriterion("gender >", value, "gender");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderGreaterThanOrEqualTo(Integer value) {
            addCriterion("gender >=", value, "gender");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderLessThan(Integer value) {
            addCriterion("gender <", value, "gender");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderLessThanOrEqualTo(Integer value) {
            addCriterion("gender <=", value, "gender");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderLike(Integer value) {
            addCriterion("gender like ", value, "gender", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderNotLike(Integer value) {
            addCriterion("gender  not like ", value, "gender", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderLeftLike(Integer value) {
            addCriterion("gender like ", value, "gender", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderNotLeftLike(Integer value) {
            addCriterion("gender  not like ", value, "gender", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderRightLike(Integer value) {
            addCriterion("gender like ", value, "gender", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderNotRightLike(Integer value) {
            addCriterion("gender  not like ", value, "gender", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderIn(List<Integer> values) {
            addCriterion("gender  in ", values, "gender");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderNotIn(List<Integer> values) {
            addCriterion("gender not in ", values, "gender");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderBetween(Integer value1, Integer value2) {
            addCriterion("gender between ", value1, value2, "gender");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderNotBetween(Integer value1, Integer value2) {
            addCriterion("gender not between ", value1, value2, "gender");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andGenderNameIsNull() {
            addCriterion("gender_name is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderNameIsNotNull() {
            addCriterion("gender_name is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderNameEqualTo(String value) {
            addCriterion("gender_name =", value, "gender_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderNameNotEqualTo(String value) {
            addCriterion("gender_name <>", value, "gender_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderNameGreaterThan(String value) {
            addCriterion("gender_name >", value, "gender_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderNameGreaterThanOrEqualTo(String value) {
            addCriterion("gender_name >=", value, "gender_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderNameLessThan(String value) {
            addCriterion("gender_name <", value, "gender_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderNameLessThanOrEqualTo(String value) {
            addCriterion("gender_name <=", value, "gender_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderNameLike(String value) {
            addCriterion("gender_name like ", value, "gender_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderNameNotLike(String value) {
            addCriterion("gender_name  not like ", value, "gender_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderNameLeftLike(String value) {
            addCriterion("gender_name like ", value, "gender_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderNameNotLeftLike(String value) {
            addCriterion("gender_name  not like ", value, "gender_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderNameRightLike(String value) {
            addCriterion("gender_name like ", value, "gender_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderNameNotRightLike(String value) {
            addCriterion("gender_name  not like ", value, "gender_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderNameIn(List<String> values) {
            addCriterion("gender_name  in ", values, "gender_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderNameNotIn(List<String> values) {
            addCriterion("gender_name not in ", values, "gender_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderNameBetween(String value1, String value2) {
            addCriterion("gender_name between ", value1, value2, "gender_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andGenderNameNotBetween(String value1, String value2) {
            addCriterion("gender_name not between ", value1, value2, "gender_name");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andIdNumberIsNull() {
            addCriterion("id_number is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIdNumberIsNotNull() {
            addCriterion("id_number is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIdNumberEqualTo(String value) {
            addCriterion("id_number =", value, "id_number");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIdNumberNotEqualTo(String value) {
            addCriterion("id_number <>", value, "id_number");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIdNumberGreaterThan(String value) {
            addCriterion("id_number >", value, "id_number");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIdNumberGreaterThanOrEqualTo(String value) {
            addCriterion("id_number >=", value, "id_number");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIdNumberLessThan(String value) {
            addCriterion("id_number <", value, "id_number");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIdNumberLessThanOrEqualTo(String value) {
            addCriterion("id_number <=", value, "id_number");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIdNumberLike(String value) {
            addCriterion("id_number like ", value, "id_number", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIdNumberNotLike(String value) {
            addCriterion("id_number  not like ", value, "id_number", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIdNumberLeftLike(String value) {
            addCriterion("id_number like ", value, "id_number", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIdNumberNotLeftLike(String value) {
            addCriterion("id_number  not like ", value, "id_number", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIdNumberRightLike(String value) {
            addCriterion("id_number like ", value, "id_number", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIdNumberNotRightLike(String value) {
            addCriterion("id_number  not like ", value, "id_number", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIdNumberIn(List<String> values) {
            addCriterion("id_number  in ", values, "id_number");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIdNumberNotIn(List<String> values) {
            addCriterion("id_number not in ", values, "id_number");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIdNumberBetween(String value1, String value2) {
            addCriterion("id_number between ", value1, value2, "id_number");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIdNumberNotBetween(String value1, String value2) {
            addCriterion("id_number not between ", value1, value2, "id_number");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andTelIsNull() {
            addCriterion("tel is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTelIsNotNull() {
            addCriterion("tel is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTelEqualTo(String value) {
            addCriterion("tel =", value, "tel");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTelNotEqualTo(String value) {
            addCriterion("tel <>", value, "tel");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTelGreaterThan(String value) {
            addCriterion("tel >", value, "tel");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTelGreaterThanOrEqualTo(String value) {
            addCriterion("tel >=", value, "tel");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTelLessThan(String value) {
            addCriterion("tel <", value, "tel");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTelLessThanOrEqualTo(String value) {
            addCriterion("tel <=", value, "tel");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTelLike(String value) {
            addCriterion("tel like ", value, "tel", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTelNotLike(String value) {
            addCriterion("tel  not like ", value, "tel", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTelLeftLike(String value) {
            addCriterion("tel like ", value, "tel", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTelNotLeftLike(String value) {
            addCriterion("tel  not like ", value, "tel", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTelRightLike(String value) {
            addCriterion("tel like ", value, "tel", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTelNotRightLike(String value) {
            addCriterion("tel  not like ", value, "tel", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTelIn(List<String> values) {
            addCriterion("tel  in ", values, "tel");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTelNotIn(List<String> values) {
            addCriterion("tel not in ", values, "tel");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTelBetween(String value1, String value2) {
            addCriterion("tel between ", value1, value2, "tel");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andTelNotBetween(String value1, String value2) {
            addCriterion("tel not between ", value1, value2, "tel");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andPersonPhotoIsNull() {
            addCriterion("PERSON_PHOTO is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonPhotoIsNotNull() {
            addCriterion("PERSON_PHOTO is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonPhotoEqualTo(String value) {
            addCriterion("PERSON_PHOTO =", value, "PERSON_PHOTO");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonPhotoNotEqualTo(String value) {
            addCriterion("PERSON_PHOTO <>", value, "PERSON_PHOTO");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonPhotoGreaterThan(String value) {
            addCriterion("PERSON_PHOTO >", value, "PERSON_PHOTO");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonPhotoGreaterThanOrEqualTo(String value) {
            addCriterion("PERSON_PHOTO >=", value, "PERSON_PHOTO");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonPhotoLessThan(String value) {
            addCriterion("PERSON_PHOTO <", value, "PERSON_PHOTO");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonPhotoLessThanOrEqualTo(String value) {
            addCriterion("PERSON_PHOTO <=", value, "PERSON_PHOTO");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonPhotoLike(String value) {
            addCriterion("PERSON_PHOTO like ", value, "PERSON_PHOTO", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonPhotoNotLike(String value) {
            addCriterion("PERSON_PHOTO  not like ", value, "PERSON_PHOTO", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonPhotoLeftLike(String value) {
            addCriterion("PERSON_PHOTO like ", value, "PERSON_PHOTO", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonPhotoNotLeftLike(String value) {
            addCriterion("PERSON_PHOTO  not like ", value, "PERSON_PHOTO", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonPhotoRightLike(String value) {
            addCriterion("PERSON_PHOTO like ", value, "PERSON_PHOTO", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonPhotoNotRightLike(String value) {
            addCriterion("PERSON_PHOTO  not like ", value, "PERSON_PHOTO", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonPhotoIn(List<String> values) {
            addCriterion("PERSON_PHOTO  in ", values, "PERSON_PHOTO");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonPhotoNotIn(List<String> values) {
            addCriterion("PERSON_PHOTO not in ", values, "PERSON_PHOTO");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonPhotoBetween(String value1, String value2) {
            addCriterion("PERSON_PHOTO between ", value1, value2, "PERSON_PHOTO");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPersonPhotoNotBetween(String value1, String value2) {
            addCriterion("PERSON_PHOTO not between ", value1, value2, "PERSON_PHOTO");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andMasterRelIsNull() {
            addCriterion("master_rel is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelIsNotNull() {
            addCriterion("master_rel is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelEqualTo(Integer value) {
            addCriterion("master_rel =", value, "master_rel");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelNotEqualTo(Integer value) {
            addCriterion("master_rel <>", value, "master_rel");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelGreaterThan(Integer value) {
            addCriterion("master_rel >", value, "master_rel");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelGreaterThanOrEqualTo(Integer value) {
            addCriterion("master_rel >=", value, "master_rel");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelLessThan(Integer value) {
            addCriterion("master_rel <", value, "master_rel");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelLessThanOrEqualTo(Integer value) {
            addCriterion("master_rel <=", value, "master_rel");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelLike(Integer value) {
            addCriterion("master_rel like ", value, "master_rel", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelNotLike(Integer value) {
            addCriterion("master_rel  not like ", value, "master_rel", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelLeftLike(Integer value) {
            addCriterion("master_rel like ", value, "master_rel", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelNotLeftLike(Integer value) {
            addCriterion("master_rel  not like ", value, "master_rel", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelRightLike(Integer value) {
            addCriterion("master_rel like ", value, "master_rel", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelNotRightLike(Integer value) {
            addCriterion("master_rel  not like ", value, "master_rel", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelIn(List<Integer> values) {
            addCriterion("master_rel  in ", values, "master_rel");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelNotIn(List<Integer> values) {
            addCriterion("master_rel not in ", values, "master_rel");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelBetween(Integer value1, Integer value2) {
            addCriterion("master_rel between ", value1, value2, "master_rel");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelNotBetween(Integer value1, Integer value2) {
            addCriterion("master_rel not between ", value1, value2, "master_rel");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andMasterRelNameIsNull() {
            addCriterion("master_rel_name is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelNameIsNotNull() {
            addCriterion("master_rel_name is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelNameEqualTo(String value) {
            addCriterion("master_rel_name =", value, "master_rel_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelNameNotEqualTo(String value) {
            addCriterion("master_rel_name <>", value, "master_rel_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelNameGreaterThan(String value) {
            addCriterion("master_rel_name >", value, "master_rel_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelNameGreaterThanOrEqualTo(String value) {
            addCriterion("master_rel_name >=", value, "master_rel_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelNameLessThan(String value) {
            addCriterion("master_rel_name <", value, "master_rel_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelNameLessThanOrEqualTo(String value) {
            addCriterion("master_rel_name <=", value, "master_rel_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelNameLike(String value) {
            addCriterion("master_rel_name like ", value, "master_rel_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelNameNotLike(String value) {
            addCriterion("master_rel_name  not like ", value, "master_rel_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelNameLeftLike(String value) {
            addCriterion("master_rel_name like ", value, "master_rel_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelNameNotLeftLike(String value) {
            addCriterion("master_rel_name  not like ", value, "master_rel_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelNameRightLike(String value) {
            addCriterion("master_rel_name like ", value, "master_rel_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelNameNotRightLike(String value) {
            addCriterion("master_rel_name  not like ", value, "master_rel_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelNameIn(List<String> values) {
            addCriterion("master_rel_name  in ", values, "master_rel_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelNameNotIn(List<String> values) {
            addCriterion("master_rel_name not in ", values, "master_rel_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelNameBetween(String value1, String value2) {
            addCriterion("master_rel_name between ", value1, value2, "master_rel_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andMasterRelNameNotBetween(String value1, String value2) {
            addCriterion("master_rel_name not between ", value1, value2, "master_rel_name");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andNationIsNull() {
            addCriterion("nation is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationIsNotNull() {
            addCriterion("nation is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationEqualTo(Integer value) {
            addCriterion("nation =", value, "nation");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationNotEqualTo(Integer value) {
            addCriterion("nation <>", value, "nation");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationGreaterThan(Integer value) {
            addCriterion("nation >", value, "nation");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationGreaterThanOrEqualTo(Integer value) {
            addCriterion("nation >=", value, "nation");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationLessThan(Integer value) {
            addCriterion("nation <", value, "nation");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationLessThanOrEqualTo(Integer value) {
            addCriterion("nation <=", value, "nation");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationLike(Integer value) {
            addCriterion("nation like ", value, "nation", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationNotLike(Integer value) {
            addCriterion("nation  not like ", value, "nation", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationLeftLike(Integer value) {
            addCriterion("nation like ", value, "nation", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationNotLeftLike(Integer value) {
            addCriterion("nation  not like ", value, "nation", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationRightLike(Integer value) {
            addCriterion("nation like ", value, "nation", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationNotRightLike(Integer value) {
            addCriterion("nation  not like ", value, "nation", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationIn(List<Integer> values) {
            addCriterion("nation  in ", values, "nation");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationNotIn(List<Integer> values) {
            addCriterion("nation not in ", values, "nation");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationBetween(Integer value1, Integer value2) {
            addCriterion("nation between ", value1, value2, "nation");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationNotBetween(Integer value1, Integer value2) {
            addCriterion("nation not between ", value1, value2, "nation");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andNationNameIsNull() {
            addCriterion("nation_name is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationNameIsNotNull() {
            addCriterion("nation_name is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationNameEqualTo(String value) {
            addCriterion("nation_name =", value, "nation_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationNameNotEqualTo(String value) {
            addCriterion("nation_name <>", value, "nation_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationNameGreaterThan(String value) {
            addCriterion("nation_name >", value, "nation_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationNameGreaterThanOrEqualTo(String value) {
            addCriterion("nation_name >=", value, "nation_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationNameLessThan(String value) {
            addCriterion("nation_name <", value, "nation_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationNameLessThanOrEqualTo(String value) {
            addCriterion("nation_name <=", value, "nation_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationNameLike(String value) {
            addCriterion("nation_name like ", value, "nation_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationNameNotLike(String value) {
            addCriterion("nation_name  not like ", value, "nation_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationNameLeftLike(String value) {
            addCriterion("nation_name like ", value, "nation_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationNameNotLeftLike(String value) {
            addCriterion("nation_name  not like ", value, "nation_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationNameRightLike(String value) {
            addCriterion("nation_name like ", value, "nation_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationNameNotRightLike(String value) {
            addCriterion("nation_name  not like ", value, "nation_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationNameIn(List<String> values) {
            addCriterion("nation_name  in ", values, "nation_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationNameNotIn(List<String> values) {
            addCriterion("nation_name not in ", values, "nation_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationNameBetween(String value1, String value2) {
            addCriterion("nation_name between ", value1, value2, "nation_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andNationNameNotBetween(String value1, String value2) {
            addCriterion("nation_name not between ", value1, value2, "nation_name");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andPoliticalIsNull() {
            addCriterion("political is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalIsNotNull() {
            addCriterion("political is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalEqualTo(Integer value) {
            addCriterion("political =", value, "political");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalNotEqualTo(Integer value) {
            addCriterion("political <>", value, "political");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalGreaterThan(Integer value) {
            addCriterion("political >", value, "political");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalGreaterThanOrEqualTo(Integer value) {
            addCriterion("political >=", value, "political");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalLessThan(Integer value) {
            addCriterion("political <", value, "political");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalLessThanOrEqualTo(Integer value) {
            addCriterion("political <=", value, "political");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalLike(Integer value) {
            addCriterion("political like ", value, "political", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalNotLike(Integer value) {
            addCriterion("political  not like ", value, "political", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalLeftLike(Integer value) {
            addCriterion("political like ", value, "political", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalNotLeftLike(Integer value) {
            addCriterion("political  not like ", value, "political", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalRightLike(Integer value) {
            addCriterion("political like ", value, "political", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalNotRightLike(Integer value) {
            addCriterion("political  not like ", value, "political", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalIn(List<Integer> values) {
            addCriterion("political  in ", values, "political");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalNotIn(List<Integer> values) {
            addCriterion("political not in ", values, "political");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalBetween(Integer value1, Integer value2) {
            addCriterion("political between ", value1, value2, "political");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalNotBetween(Integer value1, Integer value2) {
            addCriterion("political not between ", value1, value2, "political");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andPoliticalNameIsNull() {
            addCriterion("political_name is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalNameIsNotNull() {
            addCriterion("political_name is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalNameEqualTo(String value) {
            addCriterion("political_name =", value, "political_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalNameNotEqualTo(String value) {
            addCriterion("political_name <>", value, "political_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalNameGreaterThan(String value) {
            addCriterion("political_name >", value, "political_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalNameGreaterThanOrEqualTo(String value) {
            addCriterion("political_name >=", value, "political_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalNameLessThan(String value) {
            addCriterion("political_name <", value, "political_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalNameLessThanOrEqualTo(String value) {
            addCriterion("political_name <=", value, "political_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalNameLike(String value) {
            addCriterion("political_name like ", value, "political_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalNameNotLike(String value) {
            addCriterion("political_name  not like ", value, "political_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalNameLeftLike(String value) {
            addCriterion("political_name like ", value, "political_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalNameNotLeftLike(String value) {
            addCriterion("political_name  not like ", value, "political_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalNameRightLike(String value) {
            addCriterion("political_name like ", value, "political_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalNameNotRightLike(String value) {
            addCriterion("political_name  not like ", value, "political_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalNameIn(List<String> values) {
            addCriterion("political_name  in ", values, "political_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalNameNotIn(List<String> values) {
            addCriterion("political_name not in ", values, "political_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalNameBetween(String value1, String value2) {
            addCriterion("political_name between ", value1, value2, "political_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andPoliticalNameNotBetween(String value1, String value2) {
            addCriterion("political_name not between ", value1, value2, "political_name");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andEducationLevelIsNull() {
            addCriterion("EDUCATION_LEVEL is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelIsNotNull() {
            addCriterion("EDUCATION_LEVEL is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelEqualTo(Integer value) {
            addCriterion("EDUCATION_LEVEL =", value, "EDUCATION_LEVEL");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelNotEqualTo(Integer value) {
            addCriterion("EDUCATION_LEVEL <>", value, "EDUCATION_LEVEL");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelGreaterThan(Integer value) {
            addCriterion("EDUCATION_LEVEL >", value, "EDUCATION_LEVEL");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("EDUCATION_LEVEL >=", value, "EDUCATION_LEVEL");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelLessThan(Integer value) {
            addCriterion("EDUCATION_LEVEL <", value, "EDUCATION_LEVEL");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelLessThanOrEqualTo(Integer value) {
            addCriterion("EDUCATION_LEVEL <=", value, "EDUCATION_LEVEL");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelLike(Integer value) {
            addCriterion("EDUCATION_LEVEL like ", value, "EDUCATION_LEVEL", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelNotLike(Integer value) {
            addCriterion("EDUCATION_LEVEL  not like ", value, "EDUCATION_LEVEL", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelLeftLike(Integer value) {
            addCriterion("EDUCATION_LEVEL like ", value, "EDUCATION_LEVEL", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelNotLeftLike(Integer value) {
            addCriterion("EDUCATION_LEVEL  not like ", value, "EDUCATION_LEVEL", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelRightLike(Integer value) {
            addCriterion("EDUCATION_LEVEL like ", value, "EDUCATION_LEVEL", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelNotRightLike(Integer value) {
            addCriterion("EDUCATION_LEVEL  not like ", value, "EDUCATION_LEVEL", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelIn(List<Integer> values) {
            addCriterion("EDUCATION_LEVEL  in ", values, "EDUCATION_LEVEL");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelNotIn(List<Integer> values) {
            addCriterion("EDUCATION_LEVEL not in ", values, "EDUCATION_LEVEL");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelBetween(Integer value1, Integer value2) {
            addCriterion("EDUCATION_LEVEL between ", value1, value2, "EDUCATION_LEVEL");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelNotBetween(Integer value1, Integer value2) {
            addCriterion("EDUCATION_LEVEL not between ", value1, value2, "EDUCATION_LEVEL");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andEducationLevelNameIsNull() {
            addCriterion("EDUCATION_LEVEL_name is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelNameIsNotNull() {
            addCriterion("EDUCATION_LEVEL_name is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelNameEqualTo(String value) {
            addCriterion("EDUCATION_LEVEL_name =", value, "EDUCATION_LEVEL_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelNameNotEqualTo(String value) {
            addCriterion("EDUCATION_LEVEL_name <>", value, "EDUCATION_LEVEL_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelNameGreaterThan(String value) {
            addCriterion("EDUCATION_LEVEL_name >", value, "EDUCATION_LEVEL_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelNameGreaterThanOrEqualTo(String value) {
            addCriterion("EDUCATION_LEVEL_name >=", value, "EDUCATION_LEVEL_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelNameLessThan(String value) {
            addCriterion("EDUCATION_LEVEL_name <", value, "EDUCATION_LEVEL_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelNameLessThanOrEqualTo(String value) {
            addCriterion("EDUCATION_LEVEL_name <=", value, "EDUCATION_LEVEL_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelNameLike(String value) {
            addCriterion("EDUCATION_LEVEL_name like ", value, "EDUCATION_LEVEL_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelNameNotLike(String value) {
            addCriterion("EDUCATION_LEVEL_name  not like ", value, "EDUCATION_LEVEL_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelNameLeftLike(String value) {
            addCriterion("EDUCATION_LEVEL_name like ", value, "EDUCATION_LEVEL_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelNameNotLeftLike(String value) {
            addCriterion("EDUCATION_LEVEL_name  not like ", value, "EDUCATION_LEVEL_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelNameRightLike(String value) {
            addCriterion("EDUCATION_LEVEL_name like ", value, "EDUCATION_LEVEL_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelNameNotRightLike(String value) {
            addCriterion("EDUCATION_LEVEL_name  not like ", value, "EDUCATION_LEVEL_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelNameIn(List<String> values) {
            addCriterion("EDUCATION_LEVEL_name  in ", values, "EDUCATION_LEVEL_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelNameNotIn(List<String> values) {
            addCriterion("EDUCATION_LEVEL_name not in ", values, "EDUCATION_LEVEL_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelNameBetween(String value1, String value2) {
            addCriterion("EDUCATION_LEVEL_name between ", value1, value2, "EDUCATION_LEVEL_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andEducationLevelNameNotBetween(String value1, String value2) {
            addCriterion("EDUCATION_LEVEL_name not between ", value1, value2, "EDUCATION_LEVEL_name");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andStudentStateIsNull() {
            addCriterion("STUDENT_STATE is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateIsNotNull() {
            addCriterion("STUDENT_STATE is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateEqualTo(Integer value) {
            addCriterion("STUDENT_STATE =", value, "STUDENT_STATE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateNotEqualTo(Integer value) {
            addCriterion("STUDENT_STATE <>", value, "STUDENT_STATE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateGreaterThan(Integer value) {
            addCriterion("STUDENT_STATE >", value, "STUDENT_STATE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("STUDENT_STATE >=", value, "STUDENT_STATE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateLessThan(Integer value) {
            addCriterion("STUDENT_STATE <", value, "STUDENT_STATE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateLessThanOrEqualTo(Integer value) {
            addCriterion("STUDENT_STATE <=", value, "STUDENT_STATE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateLike(Integer value) {
            addCriterion("STUDENT_STATE like ", value, "STUDENT_STATE", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateNotLike(Integer value) {
            addCriterion("STUDENT_STATE  not like ", value, "STUDENT_STATE", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateLeftLike(Integer value) {
            addCriterion("STUDENT_STATE like ", value, "STUDENT_STATE", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateNotLeftLike(Integer value) {
            addCriterion("STUDENT_STATE  not like ", value, "STUDENT_STATE", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateRightLike(Integer value) {
            addCriterion("STUDENT_STATE like ", value, "STUDENT_STATE", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateNotRightLike(Integer value) {
            addCriterion("STUDENT_STATE  not like ", value, "STUDENT_STATE", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateIn(List<Integer> values) {
            addCriterion("STUDENT_STATE  in ", values, "STUDENT_STATE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateNotIn(List<Integer> values) {
            addCriterion("STUDENT_STATE not in ", values, "STUDENT_STATE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateBetween(Integer value1, Integer value2) {
            addCriterion("STUDENT_STATE between ", value1, value2, "STUDENT_STATE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateNotBetween(Integer value1, Integer value2) {
            addCriterion("STUDENT_STATE not between ", value1, value2, "STUDENT_STATE");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andStudentStateNameIsNull() {
            addCriterion("STUDENT_STATE_name is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateNameIsNotNull() {
            addCriterion("STUDENT_STATE_name is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateNameEqualTo(String value) {
            addCriterion("STUDENT_STATE_name =", value, "STUDENT_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateNameNotEqualTo(String value) {
            addCriterion("STUDENT_STATE_name <>", value, "STUDENT_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateNameGreaterThan(String value) {
            addCriterion("STUDENT_STATE_name >", value, "STUDENT_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateNameGreaterThanOrEqualTo(String value) {
            addCriterion("STUDENT_STATE_name >=", value, "STUDENT_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateNameLessThan(String value) {
            addCriterion("STUDENT_STATE_name <", value, "STUDENT_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateNameLessThanOrEqualTo(String value) {
            addCriterion("STUDENT_STATE_name <=", value, "STUDENT_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateNameLike(String value) {
            addCriterion("STUDENT_STATE_name like ", value, "STUDENT_STATE_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateNameNotLike(String value) {
            addCriterion("STUDENT_STATE_name  not like ", value, "STUDENT_STATE_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateNameLeftLike(String value) {
            addCriterion("STUDENT_STATE_name like ", value, "STUDENT_STATE_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateNameNotLeftLike(String value) {
            addCriterion("STUDENT_STATE_name  not like ", value, "STUDENT_STATE_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateNameRightLike(String value) {
            addCriterion("STUDENT_STATE_name like ", value, "STUDENT_STATE_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateNameNotRightLike(String value) {
            addCriterion("STUDENT_STATE_name  not like ", value, "STUDENT_STATE_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateNameIn(List<String> values) {
            addCriterion("STUDENT_STATE_name  in ", values, "STUDENT_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateNameNotIn(List<String> values) {
            addCriterion("STUDENT_STATE_name not in ", values, "STUDENT_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateNameBetween(String value1, String value2) {
            addCriterion("STUDENT_STATE_name between ", value1, value2, "STUDENT_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andStudentStateNameNotBetween(String value1, String value2) {
            addCriterion("STUDENT_STATE_name not between ", value1, value2, "STUDENT_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andHealthStateIsNull() {
            addCriterion("HEALTH_STATE is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateIsNotNull() {
            addCriterion("HEALTH_STATE is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateEqualTo(Integer value) {
            addCriterion("HEALTH_STATE =", value, "HEALTH_STATE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateNotEqualTo(Integer value) {
            addCriterion("HEALTH_STATE <>", value, "HEALTH_STATE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateGreaterThan(Integer value) {
            addCriterion("HEALTH_STATE >", value, "HEALTH_STATE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("HEALTH_STATE >=", value, "HEALTH_STATE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateLessThan(Integer value) {
            addCriterion("HEALTH_STATE <", value, "HEALTH_STATE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateLessThanOrEqualTo(Integer value) {
            addCriterion("HEALTH_STATE <=", value, "HEALTH_STATE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateLike(Integer value) {
            addCriterion("HEALTH_STATE like ", value, "HEALTH_STATE", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateNotLike(Integer value) {
            addCriterion("HEALTH_STATE  not like ", value, "HEALTH_STATE", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateLeftLike(Integer value) {
            addCriterion("HEALTH_STATE like ", value, "HEALTH_STATE", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateNotLeftLike(Integer value) {
            addCriterion("HEALTH_STATE  not like ", value, "HEALTH_STATE", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateRightLike(Integer value) {
            addCriterion("HEALTH_STATE like ", value, "HEALTH_STATE", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateNotRightLike(Integer value) {
            addCriterion("HEALTH_STATE  not like ", value, "HEALTH_STATE", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateIn(List<Integer> values) {
            addCriterion("HEALTH_STATE  in ", values, "HEALTH_STATE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateNotIn(List<Integer> values) {
            addCriterion("HEALTH_STATE not in ", values, "HEALTH_STATE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateBetween(Integer value1, Integer value2) {
            addCriterion("HEALTH_STATE between ", value1, value2, "HEALTH_STATE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateNotBetween(Integer value1, Integer value2) {
            addCriterion("HEALTH_STATE not between ", value1, value2, "HEALTH_STATE");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andHealthStateNameIsNull() {
            addCriterion("HEALTH_STATE_name is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateNameIsNotNull() {
            addCriterion("HEALTH_STATE_name is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateNameEqualTo(String value) {
            addCriterion("HEALTH_STATE_name =", value, "HEALTH_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateNameNotEqualTo(String value) {
            addCriterion("HEALTH_STATE_name <>", value, "HEALTH_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateNameGreaterThan(String value) {
            addCriterion("HEALTH_STATE_name >", value, "HEALTH_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateNameGreaterThanOrEqualTo(String value) {
            addCriterion("HEALTH_STATE_name >=", value, "HEALTH_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateNameLessThan(String value) {
            addCriterion("HEALTH_STATE_name <", value, "HEALTH_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateNameLessThanOrEqualTo(String value) {
            addCriterion("HEALTH_STATE_name <=", value, "HEALTH_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateNameLike(String value) {
            addCriterion("HEALTH_STATE_name like ", value, "HEALTH_STATE_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateNameNotLike(String value) {
            addCriterion("HEALTH_STATE_name  not like ", value, "HEALTH_STATE_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateNameLeftLike(String value) {
            addCriterion("HEALTH_STATE_name like ", value, "HEALTH_STATE_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateNameNotLeftLike(String value) {
            addCriterion("HEALTH_STATE_name  not like ", value, "HEALTH_STATE_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateNameRightLike(String value) {
            addCriterion("HEALTH_STATE_name like ", value, "HEALTH_STATE_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateNameNotRightLike(String value) {
            addCriterion("HEALTH_STATE_name  not like ", value, "HEALTH_STATE_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateNameIn(List<String> values) {
            addCriterion("HEALTH_STATE_name  in ", values, "HEALTH_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateNameNotIn(List<String> values) {
            addCriterion("HEALTH_STATE_name not in ", values, "HEALTH_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateNameBetween(String value1, String value2) {
            addCriterion("HEALTH_STATE_name between ", value1, value2, "HEALTH_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andHealthStateNameNotBetween(String value1, String value2) {
            addCriterion("HEALTH_STATE_name not between ", value1, value2, "HEALTH_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andIsArmyIsNull() {
            addCriterion("IS_ARMY is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyIsNotNull() {
            addCriterion("IS_ARMY is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyEqualTo(Integer value) {
            addCriterion("IS_ARMY =", value, "IS_ARMY");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyNotEqualTo(Integer value) {
            addCriterion("IS_ARMY <>", value, "IS_ARMY");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyGreaterThan(Integer value) {
            addCriterion("IS_ARMY >", value, "IS_ARMY");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyGreaterThanOrEqualTo(Integer value) {
            addCriterion("IS_ARMY >=", value, "IS_ARMY");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyLessThan(Integer value) {
            addCriterion("IS_ARMY <", value, "IS_ARMY");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyLessThanOrEqualTo(Integer value) {
            addCriterion("IS_ARMY <=", value, "IS_ARMY");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyLike(Integer value) {
            addCriterion("IS_ARMY like ", value, "IS_ARMY", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyNotLike(Integer value) {
            addCriterion("IS_ARMY  not like ", value, "IS_ARMY", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyLeftLike(Integer value) {
            addCriterion("IS_ARMY like ", value, "IS_ARMY", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyNotLeftLike(Integer value) {
            addCriterion("IS_ARMY  not like ", value, "IS_ARMY", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyRightLike(Integer value) {
            addCriterion("IS_ARMY like ", value, "IS_ARMY", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyNotRightLike(Integer value) {
            addCriterion("IS_ARMY  not like ", value, "IS_ARMY", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyIn(List<Integer> values) {
            addCriterion("IS_ARMY  in ", values, "IS_ARMY");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyNotIn(List<Integer> values) {
            addCriterion("IS_ARMY not in ", values, "IS_ARMY");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyBetween(Integer value1, Integer value2) {
            addCriterion("IS_ARMY between ", value1, value2, "IS_ARMY");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyNotBetween(Integer value1, Integer value2) {
            addCriterion("IS_ARMY not between ", value1, value2, "IS_ARMY");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andIsArmyNameIsNull() {
            addCriterion("IS_ARMY_name is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyNameIsNotNull() {
            addCriterion("IS_ARMY_name is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyNameEqualTo(String value) {
            addCriterion("IS_ARMY_name =", value, "IS_ARMY_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyNameNotEqualTo(String value) {
            addCriterion("IS_ARMY_name <>", value, "IS_ARMY_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyNameGreaterThan(String value) {
            addCriterion("IS_ARMY_name >", value, "IS_ARMY_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyNameGreaterThanOrEqualTo(String value) {
            addCriterion("IS_ARMY_name >=", value, "IS_ARMY_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyNameLessThan(String value) {
            addCriterion("IS_ARMY_name <", value, "IS_ARMY_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyNameLessThanOrEqualTo(String value) {
            addCriterion("IS_ARMY_name <=", value, "IS_ARMY_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyNameLike(String value) {
            addCriterion("IS_ARMY_name like ", value, "IS_ARMY_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyNameNotLike(String value) {
            addCriterion("IS_ARMY_name  not like ", value, "IS_ARMY_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyNameLeftLike(String value) {
            addCriterion("IS_ARMY_name like ", value, "IS_ARMY_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyNameNotLeftLike(String value) {
            addCriterion("IS_ARMY_name  not like ", value, "IS_ARMY_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyNameRightLike(String value) {
            addCriterion("IS_ARMY_name like ", value, "IS_ARMY_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyNameNotRightLike(String value) {
            addCriterion("IS_ARMY_name  not like ", value, "IS_ARMY_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyNameIn(List<String> values) {
            addCriterion("IS_ARMY_name  in ", values, "IS_ARMY_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyNameNotIn(List<String> values) {
            addCriterion("IS_ARMY_name not in ", values, "IS_ARMY_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyNameBetween(String value1, String value2) {
            addCriterion("IS_ARMY_name between ", value1, value2, "IS_ARMY_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsArmyNameNotBetween(String value1, String value2) {
            addCriterion("IS_ARMY_name not between ", value1, value2, "IS_ARMY_name");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andWorkSkillIsNull() {
            addCriterion("WORK_SKILL is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillIsNotNull() {
            addCriterion("WORK_SKILL is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillEqualTo(Integer value) {
            addCriterion("WORK_SKILL =", value, "WORK_SKILL");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillNotEqualTo(Integer value) {
            addCriterion("WORK_SKILL <>", value, "WORK_SKILL");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillGreaterThan(Integer value) {
            addCriterion("WORK_SKILL >", value, "WORK_SKILL");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillGreaterThanOrEqualTo(Integer value) {
            addCriterion("WORK_SKILL >=", value, "WORK_SKILL");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillLessThan(Integer value) {
            addCriterion("WORK_SKILL <", value, "WORK_SKILL");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillLessThanOrEqualTo(Integer value) {
            addCriterion("WORK_SKILL <=", value, "WORK_SKILL");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillLike(Integer value) {
            addCriterion("WORK_SKILL like ", value, "WORK_SKILL", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillNotLike(Integer value) {
            addCriterion("WORK_SKILL  not like ", value, "WORK_SKILL", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillLeftLike(Integer value) {
            addCriterion("WORK_SKILL like ", value, "WORK_SKILL", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillNotLeftLike(Integer value) {
            addCriterion("WORK_SKILL  not like ", value, "WORK_SKILL", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillRightLike(Integer value) {
            addCriterion("WORK_SKILL like ", value, "WORK_SKILL", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillNotRightLike(Integer value) {
            addCriterion("WORK_SKILL  not like ", value, "WORK_SKILL", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillIn(List<Integer> values) {
            addCriterion("WORK_SKILL  in ", values, "WORK_SKILL");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillNotIn(List<Integer> values) {
            addCriterion("WORK_SKILL not in ", values, "WORK_SKILL");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillBetween(Integer value1, Integer value2) {
            addCriterion("WORK_SKILL between ", value1, value2, "WORK_SKILL");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillNotBetween(Integer value1, Integer value2) {
            addCriterion("WORK_SKILL not between ", value1, value2, "WORK_SKILL");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andWorkSkillNameIsNull() {
            addCriterion("WORK_SKILL_name is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillNameIsNotNull() {
            addCriterion("WORK_SKILL_name is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillNameEqualTo(String value) {
            addCriterion("WORK_SKILL_name =", value, "WORK_SKILL_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillNameNotEqualTo(String value) {
            addCriterion("WORK_SKILL_name <>", value, "WORK_SKILL_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillNameGreaterThan(String value) {
            addCriterion("WORK_SKILL_name >", value, "WORK_SKILL_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillNameGreaterThanOrEqualTo(String value) {
            addCriterion("WORK_SKILL_name >=", value, "WORK_SKILL_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillNameLessThan(String value) {
            addCriterion("WORK_SKILL_name <", value, "WORK_SKILL_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillNameLessThanOrEqualTo(String value) {
            addCriterion("WORK_SKILL_name <=", value, "WORK_SKILL_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillNameLike(String value) {
            addCriterion("WORK_SKILL_name like ", value, "WORK_SKILL_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillNameNotLike(String value) {
            addCriterion("WORK_SKILL_name  not like ", value, "WORK_SKILL_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillNameLeftLike(String value) {
            addCriterion("WORK_SKILL_name like ", value, "WORK_SKILL_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillNameNotLeftLike(String value) {
            addCriterion("WORK_SKILL_name  not like ", value, "WORK_SKILL_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillNameRightLike(String value) {
            addCriterion("WORK_SKILL_name like ", value, "WORK_SKILL_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillNameNotRightLike(String value) {
            addCriterion("WORK_SKILL_name  not like ", value, "WORK_SKILL_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillNameIn(List<String> values) {
            addCriterion("WORK_SKILL_name  in ", values, "WORK_SKILL_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillNameNotIn(List<String> values) {
            addCriterion("WORK_SKILL_name not in ", values, "WORK_SKILL_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillNameBetween(String value1, String value2) {
            addCriterion("WORK_SKILL_name between ", value1, value2, "WORK_SKILL_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkSkillNameNotBetween(String value1, String value2) {
            addCriterion("WORK_SKILL_name not between ", value1, value2, "WORK_SKILL_name");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andWorkStateIsNull() {
            addCriterion("WORK_STATE is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateIsNotNull() {
            addCriterion("WORK_STATE is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateEqualTo(Integer value) {
            addCriterion("WORK_STATE =", value, "WORK_STATE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateNotEqualTo(Integer value) {
            addCriterion("WORK_STATE <>", value, "WORK_STATE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateGreaterThan(Integer value) {
            addCriterion("WORK_STATE >", value, "WORK_STATE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("WORK_STATE >=", value, "WORK_STATE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateLessThan(Integer value) {
            addCriterion("WORK_STATE <", value, "WORK_STATE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateLessThanOrEqualTo(Integer value) {
            addCriterion("WORK_STATE <=", value, "WORK_STATE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateLike(Integer value) {
            addCriterion("WORK_STATE like ", value, "WORK_STATE", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateNotLike(Integer value) {
            addCriterion("WORK_STATE  not like ", value, "WORK_STATE", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateLeftLike(Integer value) {
            addCriterion("WORK_STATE like ", value, "WORK_STATE", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateNotLeftLike(Integer value) {
            addCriterion("WORK_STATE  not like ", value, "WORK_STATE", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateRightLike(Integer value) {
            addCriterion("WORK_STATE like ", value, "WORK_STATE", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateNotRightLike(Integer value) {
            addCriterion("WORK_STATE  not like ", value, "WORK_STATE", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateIn(List<Integer> values) {
            addCriterion("WORK_STATE  in ", values, "WORK_STATE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateNotIn(List<Integer> values) {
            addCriterion("WORK_STATE not in ", values, "WORK_STATE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateBetween(Integer value1, Integer value2) {
            addCriterion("WORK_STATE between ", value1, value2, "WORK_STATE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateNotBetween(Integer value1, Integer value2) {
            addCriterion("WORK_STATE not between ", value1, value2, "WORK_STATE");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andWorkStateNameIsNull() {
            addCriterion("WORK_STATE_name is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateNameIsNotNull() {
            addCriterion("WORK_STATE_name is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateNameEqualTo(String value) {
            addCriterion("WORK_STATE_name =", value, "WORK_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateNameNotEqualTo(String value) {
            addCriterion("WORK_STATE_name <>", value, "WORK_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateNameGreaterThan(String value) {
            addCriterion("WORK_STATE_name >", value, "WORK_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateNameGreaterThanOrEqualTo(String value) {
            addCriterion("WORK_STATE_name >=", value, "WORK_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateNameLessThan(String value) {
            addCriterion("WORK_STATE_name <", value, "WORK_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateNameLessThanOrEqualTo(String value) {
            addCriterion("WORK_STATE_name <=", value, "WORK_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateNameLike(String value) {
            addCriterion("WORK_STATE_name like ", value, "WORK_STATE_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateNameNotLike(String value) {
            addCriterion("WORK_STATE_name  not like ", value, "WORK_STATE_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateNameLeftLike(String value) {
            addCriterion("WORK_STATE_name like ", value, "WORK_STATE_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateNameNotLeftLike(String value) {
            addCriterion("WORK_STATE_name  not like ", value, "WORK_STATE_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateNameRightLike(String value) {
            addCriterion("WORK_STATE_name like ", value, "WORK_STATE_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateNameNotRightLike(String value) {
            addCriterion("WORK_STATE_name  not like ", value, "WORK_STATE_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateNameIn(List<String> values) {
            addCriterion("WORK_STATE_name  in ", values, "WORK_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateNameNotIn(List<String> values) {
            addCriterion("WORK_STATE_name not in ", values, "WORK_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateNameBetween(String value1, String value2) {
            addCriterion("WORK_STATE_name between ", value1, value2, "WORK_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkStateNameNotBetween(String value1, String value2) {
            addCriterion("WORK_STATE_name not between ", value1, value2, "WORK_STATE_name");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andWorkMonthsIsNull() {
            addCriterion("WORK_MONTHS is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkMonthsIsNotNull() {
            addCriterion("WORK_MONTHS is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkMonthsEqualTo(Integer value) {
            addCriterion("WORK_MONTHS =", value, "WORK_MONTHS");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkMonthsNotEqualTo(Integer value) {
            addCriterion("WORK_MONTHS <>", value, "WORK_MONTHS");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkMonthsGreaterThan(Integer value) {
            addCriterion("WORK_MONTHS >", value, "WORK_MONTHS");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkMonthsGreaterThanOrEqualTo(Integer value) {
            addCriterion("WORK_MONTHS >=", value, "WORK_MONTHS");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkMonthsLessThan(Integer value) {
            addCriterion("WORK_MONTHS <", value, "WORK_MONTHS");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkMonthsLessThanOrEqualTo(Integer value) {
            addCriterion("WORK_MONTHS <=", value, "WORK_MONTHS");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkMonthsLike(Integer value) {
            addCriterion("WORK_MONTHS like ", value, "WORK_MONTHS", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkMonthsNotLike(Integer value) {
            addCriterion("WORK_MONTHS  not like ", value, "WORK_MONTHS", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkMonthsLeftLike(Integer value) {
            addCriterion("WORK_MONTHS like ", value, "WORK_MONTHS", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkMonthsNotLeftLike(Integer value) {
            addCriterion("WORK_MONTHS  not like ", value, "WORK_MONTHS", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkMonthsRightLike(Integer value) {
            addCriterion("WORK_MONTHS like ", value, "WORK_MONTHS", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkMonthsNotRightLike(Integer value) {
            addCriterion("WORK_MONTHS  not like ", value, "WORK_MONTHS", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkMonthsIn(List<Integer> values) {
            addCriterion("WORK_MONTHS  in ", values, "WORK_MONTHS");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkMonthsNotIn(List<Integer> values) {
            addCriterion("WORK_MONTHS not in ", values, "WORK_MONTHS");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkMonthsBetween(Integer value1, Integer value2) {
            addCriterion("WORK_MONTHS between ", value1, value2, "WORK_MONTHS");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andWorkMonthsNotBetween(Integer value1, Integer value2) {
            addCriterion("WORK_MONTHS not between ", value1, value2, "WORK_MONTHS");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andIsInsuranceIsNull() {
            addCriterion("IS_INSURANCE is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceIsNotNull() {
            addCriterion("IS_INSURANCE is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceEqualTo(Integer value) {
            addCriterion("IS_INSURANCE =", value, "IS_INSURANCE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceNotEqualTo(Integer value) {
            addCriterion("IS_INSURANCE <>", value, "IS_INSURANCE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceGreaterThan(Integer value) {
            addCriterion("IS_INSURANCE >", value, "IS_INSURANCE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceGreaterThanOrEqualTo(Integer value) {
            addCriterion("IS_INSURANCE >=", value, "IS_INSURANCE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceLessThan(Integer value) {
            addCriterion("IS_INSURANCE <", value, "IS_INSURANCE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceLessThanOrEqualTo(Integer value) {
            addCriterion("IS_INSURANCE <=", value, "IS_INSURANCE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceLike(Integer value) {
            addCriterion("IS_INSURANCE like ", value, "IS_INSURANCE", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceNotLike(Integer value) {
            addCriterion("IS_INSURANCE  not like ", value, "IS_INSURANCE", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceLeftLike(Integer value) {
            addCriterion("IS_INSURANCE like ", value, "IS_INSURANCE", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceNotLeftLike(Integer value) {
            addCriterion("IS_INSURANCE  not like ", value, "IS_INSURANCE", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceRightLike(Integer value) {
            addCriterion("IS_INSURANCE like ", value, "IS_INSURANCE", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceNotRightLike(Integer value) {
            addCriterion("IS_INSURANCE  not like ", value, "IS_INSURANCE", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceIn(List<Integer> values) {
            addCriterion("IS_INSURANCE  in ", values, "IS_INSURANCE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceNotIn(List<Integer> values) {
            addCriterion("IS_INSURANCE not in ", values, "IS_INSURANCE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceBetween(Integer value1, Integer value2) {
            addCriterion("IS_INSURANCE between ", value1, value2, "IS_INSURANCE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceNotBetween(Integer value1, Integer value2) {
            addCriterion("IS_INSURANCE not between ", value1, value2, "IS_INSURANCE");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andIsInsuranceNameIsNull() {
            addCriterion("IS_INSURANCE_name is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceNameIsNotNull() {
            addCriterion("IS_INSURANCE_name is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceNameEqualTo(String value) {
            addCriterion("IS_INSURANCE_name =", value, "IS_INSURANCE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceNameNotEqualTo(String value) {
            addCriterion("IS_INSURANCE_name <>", value, "IS_INSURANCE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceNameGreaterThan(String value) {
            addCriterion("IS_INSURANCE_name >", value, "IS_INSURANCE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceNameGreaterThanOrEqualTo(String value) {
            addCriterion("IS_INSURANCE_name >=", value, "IS_INSURANCE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceNameLessThan(String value) {
            addCriterion("IS_INSURANCE_name <", value, "IS_INSURANCE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceNameLessThanOrEqualTo(String value) {
            addCriterion("IS_INSURANCE_name <=", value, "IS_INSURANCE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceNameLike(String value) {
            addCriterion("IS_INSURANCE_name like ", value, "IS_INSURANCE_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceNameNotLike(String value) {
            addCriterion("IS_INSURANCE_name  not like ", value, "IS_INSURANCE_name", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceNameLeftLike(String value) {
            addCriterion("IS_INSURANCE_name like ", value, "IS_INSURANCE_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceNameNotLeftLike(String value) {
            addCriterion("IS_INSURANCE_name  not like ", value, "IS_INSURANCE_name", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceNameRightLike(String value) {
            addCriterion("IS_INSURANCE_name like ", value, "IS_INSURANCE_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceNameNotRightLike(String value) {
            addCriterion("IS_INSURANCE_name  not like ", value, "IS_INSURANCE_name", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceNameIn(List<String> values) {
            addCriterion("IS_INSURANCE_name  in ", values, "IS_INSURANCE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceNameNotIn(List<String> values) {
            addCriterion("IS_INSURANCE_name not in ", values, "IS_INSURANCE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceNameBetween(String value1, String value2) {
            addCriterion("IS_INSURANCE_name between ", value1, value2, "IS_INSURANCE_name");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andIsInsuranceNameNotBetween(String value1, String value2) {
            addCriterion("IS_INSURANCE_name not between ", value1, value2, "IS_INSURANCE_name");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andBankNameIsNull() {
            addCriterion("BANK_NAME is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andBankNameIsNotNull() {
            addCriterion("BANK_NAME is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andBankNameEqualTo(String value) {
            addCriterion("BANK_NAME =", value, "BANK_NAME");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andBankNameNotEqualTo(String value) {
            addCriterion("BANK_NAME <>", value, "BANK_NAME");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andBankNameGreaterThan(String value) {
            addCriterion("BANK_NAME >", value, "BANK_NAME");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andBankNameGreaterThanOrEqualTo(String value) {
            addCriterion("BANK_NAME >=", value, "BANK_NAME");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andBankNameLessThan(String value) {
            addCriterion("BANK_NAME <", value, "BANK_NAME");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andBankNameLessThanOrEqualTo(String value) {
            addCriterion("BANK_NAME <=", value, "BANK_NAME");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andBankNameLike(String value) {
            addCriterion("BANK_NAME like ", value, "BANK_NAME", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andBankNameNotLike(String value) {
            addCriterion("BANK_NAME  not like ", value, "BANK_NAME", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andBankNameLeftLike(String value) {
            addCriterion("BANK_NAME like ", value, "BANK_NAME", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andBankNameNotLeftLike(String value) {
            addCriterion("BANK_NAME  not like ", value, "BANK_NAME", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andBankNameRightLike(String value) {
            addCriterion("BANK_NAME like ", value, "BANK_NAME", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andBankNameNotRightLike(String value) {
            addCriterion("BANK_NAME  not like ", value, "BANK_NAME", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andBankNameIn(List<String> values) {
            addCriterion("BANK_NAME  in ", values, "BANK_NAME");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andBankNameNotIn(List<String> values) {
            addCriterion("BANK_NAME not in ", values, "BANK_NAME");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andBankNameBetween(String value1, String value2) {
            addCriterion("BANK_NAME between ", value1, value2, "BANK_NAME");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andBankNameNotBetween(String value1, String value2) {
            addCriterion("BANK_NAME not between ", value1, value2, "BANK_NAME");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andAccountCodeIsNull() {
            addCriterion("ACCOUNT_CODE is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAccountCodeIsNotNull() {
            addCriterion("ACCOUNT_CODE is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAccountCodeEqualTo(String value) {
            addCriterion("ACCOUNT_CODE =", value, "ACCOUNT_CODE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAccountCodeNotEqualTo(String value) {
            addCriterion("ACCOUNT_CODE <>", value, "ACCOUNT_CODE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAccountCodeGreaterThan(String value) {
            addCriterion("ACCOUNT_CODE >", value, "ACCOUNT_CODE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAccountCodeGreaterThanOrEqualTo(String value) {
            addCriterion("ACCOUNT_CODE >=", value, "ACCOUNT_CODE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAccountCodeLessThan(String value) {
            addCriterion("ACCOUNT_CODE <", value, "ACCOUNT_CODE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAccountCodeLessThanOrEqualTo(String value) {
            addCriterion("ACCOUNT_CODE <=", value, "ACCOUNT_CODE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAccountCodeLike(String value) {
            addCriterion("ACCOUNT_CODE like ", value, "ACCOUNT_CODE", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAccountCodeNotLike(String value) {
            addCriterion("ACCOUNT_CODE  not like ", value, "ACCOUNT_CODE", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAccountCodeLeftLike(String value) {
            addCriterion("ACCOUNT_CODE like ", value, "ACCOUNT_CODE", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAccountCodeNotLeftLike(String value) {
            addCriterion("ACCOUNT_CODE  not like ", value, "ACCOUNT_CODE", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAccountCodeRightLike(String value) {
            addCriterion("ACCOUNT_CODE like ", value, "ACCOUNT_CODE", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAccountCodeNotRightLike(String value) {
            addCriterion("ACCOUNT_CODE  not like ", value, "ACCOUNT_CODE", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAccountCodeIn(List<String> values) {
            addCriterion("ACCOUNT_CODE  in ", values, "ACCOUNT_CODE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAccountCodeNotIn(List<String> values) {
            addCriterion("ACCOUNT_CODE not in ", values, "ACCOUNT_CODE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAccountCodeBetween(String value1, String value2) {
            addCriterion("ACCOUNT_CODE between ", value1, value2, "ACCOUNT_CODE");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAccountCodeNotBetween(String value1, String value2) {
            addCriterion("ACCOUNT_CODE not between ", value1, value2, "ACCOUNT_CODE");
            return (CodeFamilyMemberCriteria) this;
        }
        public CodeFamilyMemberCriteria andAidMainStaffIsNull() {
            addCriterion("AID_MAIN_STAFF is null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAidMainStaffIsNotNull() {
            addCriterion("AID_MAIN_STAFF is not null");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAidMainStaffEqualTo(Integer value) {
            addCriterion("AID_MAIN_STAFF =", value, "AID_MAIN_STAFF");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAidMainStaffNotEqualTo(Integer value) {
            addCriterion("AID_MAIN_STAFF <>", value, "AID_MAIN_STAFF");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAidMainStaffGreaterThan(Integer value) {
            addCriterion("AID_MAIN_STAFF >", value, "AID_MAIN_STAFF");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAidMainStaffGreaterThanOrEqualTo(Integer value) {
            addCriterion("AID_MAIN_STAFF >=", value, "AID_MAIN_STAFF");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAidMainStaffLessThan(Integer value) {
            addCriterion("AID_MAIN_STAFF <", value, "AID_MAIN_STAFF");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAidMainStaffLessThanOrEqualTo(Integer value) {
            addCriterion("AID_MAIN_STAFF <=", value, "AID_MAIN_STAFF");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAidMainStaffLike(Integer value) {
            addCriterion("AID_MAIN_STAFF like ", value, "AID_MAIN_STAFF", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAidMainStaffNotLike(Integer value) {
            addCriterion("AID_MAIN_STAFF  not like ", value, "AID_MAIN_STAFF", 1);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAidMainStaffLeftLike(Integer value) {
            addCriterion("AID_MAIN_STAFF like ", value, "AID_MAIN_STAFF", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAidMainStaffNotLeftLike(Integer value) {
            addCriterion("AID_MAIN_STAFF  not like ", value, "AID_MAIN_STAFF", 0);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAidMainStaffRightLike(Integer value) {
            addCriterion("AID_MAIN_STAFF like ", value, "AID_MAIN_STAFF", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAidMainStaffNotRightLike(Integer value) {
            addCriterion("AID_MAIN_STAFF  not like ", value, "AID_MAIN_STAFF", 2);
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAidMainStaffIn(List<Integer> values) {
            addCriterion("AID_MAIN_STAFF  in ", values, "AID_MAIN_STAFF");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAidMainStaffNotIn(List<Integer> values) {
            addCriterion("AID_MAIN_STAFF not in ", values, "AID_MAIN_STAFF");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAidMainStaffBetween(Integer value1, Integer value2) {
            addCriterion("AID_MAIN_STAFF between ", value1, value2, "AID_MAIN_STAFF");
            return (CodeFamilyMemberCriteria) this;
        }

        public CodeFamilyMemberCriteria andAidMainStaffNotBetween(Integer value1, Integer value2) {
            addCriterion("AID_MAIN_STAFF not between ", value1, value2, "AID_MAIN_STAFF");
            return (CodeFamilyMemberCriteria) this;
        }

    }

    public static class CodeFamilyMemberCriteria extends GeneratedCriteria {

        protected CodeFamilyMemberCriteria() {
            super();
        }
    }

    public static class CodeFamilyMemberCriterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected CodeFamilyMemberCriterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }
        protected CodeFamilyMemberCriterion(String condition, Object value, int likeType) {
            this.condition = condition;
            if (likeType == 0) {
                this.value = "%" + value;
            }
            else if (likeType == 1) {
                this.value = "%" + value + "%";
            }
            else {
                this.value = value + "%";
            }
            this.typeHandler = null;
            this.singleValue = true;

        }

        protected CodeFamilyMemberCriterion(String condition, Object value,
                String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            }
            else {
                this.singleValue = true;
            }
        }

        protected CodeFamilyMemberCriterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected CodeFamilyMemberCriterion(String condition, Object value,
                Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected CodeFamilyMemberCriterion(String condition, Object value,
                Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}